/* 
 * File:   common.h
 * Author: dell
 *
 * Created on 2012年4月2日, 下午12:05
 */

#ifndef COMMON_H
#define	COMMON_H

#include "stdlib.h"
#include "constant.h"
#include <evhttp/log.h>
#include <evhttp/resources.h>
//#include "MainProcessQuitHandler.h"
#include <sys/stat.h>
#include <vector>
#include <string>
#include <ext/hash_map>
#include <ext/hash_set>
using __gnu_cxx::hash;
using __gnu_cxx::hashtable;
using __gnu_cxx::hash_map;
using __gnu_cxx::hash_set;
using __gnu_cxx::hash_multimap;

namespace Rapid{
    class RapidServer;
}
typedef hash_set<Rapid::RapidServer*, PointerHash, PointerCompare> AllRapidServers;
extern AllRapidServers allRapidServers;


#endif	/* COMMON_H */

